package com.geralt.im.server;

import java.net.Socket;

import com.geralt.im.protocol.Response;

public abstract class ClientSession implements Runnable{


	protected Socket socket;
	protected boolean isRun;
	
	public ClientSession(Socket socket){
		this.socket = socket;
	}
	
	public abstract void send(Object object); 
	
	public abstract void close();
	
	public boolean isRun() {
		return isRun;
	}

	public void setRun(boolean isRun) {
		this.isRun = isRun;
	}
}
